﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SacNetUG.Models;

namespace SacNetUG.Controllers
{
    public partial class StateController : Controller
    {
        //
        // GET: /State/Page/2

        public virtual ActionResult Index(int? pageNumber)
        {
            var page = (int)((pageNumber.HasValue) ? pageNumber : 1);
            return View(new StateViewModel(page, repository));
        }

    }
}
